================================================================================
TITLE "Adjustment of the Lab1_Recombined_Oil Composition"
================================================================================

NOTE: "The oil compositions reported by Lab1 are inconsistent with the"
NOTE: "measured saturation pressure and GOR. They must be adjusted."

-- Convert, renormalize, and report (if LaTeX is on) the reported analyses
-- of the Lab1 recombined oil:

LMIX Lab1_Oil_Analysis_1 1 MOLE Lab1_Oil_Analysis_1
LMIX Lab1_Oil_Analysis_2 1 MOLE Lab1_Oil_Analysis_2

NOTE: "Modify the C1 content of the reported flashed gas
NOTE: "and the C30+ content of the reported flashed liquid."

MIX Reported_Flashed_Gas 1 MOLE Lab1_Flashed_Gas_2
MULTIPLY MOLES of C1 in Reported_Flashed_Gas by Lab1_FG_C1X
MIX Flashed_Gas 1 MOLE Reported_Flashed_Gas

MIX Reported_Flashed_Liq 1 MOLE Lab1_Flashed_Liq_2
MULTIPLY MOLES of C30+ in Reported_Flashed_Liq by Lab1_FL_C30X
MIX Flashed_Liq 1 MOLE Reported_Flashed_Liq

NOTE: "Recombine the adjusted flashed gas with the adjusted flashed Liquid"
NOTE: "to the measured saturation pressure."

TEMP 96 C, PRES 232.42 BARG
QIX FEED 0.2 MASS Flashed_Gas 1 TMASS Flashed_Liq ; should be 2-phase
BOUND MIXTURE Flashed_Liq ; Flashed_Liq will be 1-phase,
                          ; so the boundary mixture should be saturated

-- Save and report (if LaTeX is on) the resulting, saturated feed stream:

LMIX Lab1_Recombined_Oil FEED
